﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminFunction.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="BitPortal.Admin.Service.NoteWork.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .x-grid3-cell-inner
        {
            font-family: "segoe ui" ,tahoma, arial, sans-serif;
        }
        
        .x-grid-group-hd div
        {
            font-family: "segoe ui" ,tahoma, arial, sans-serif;
        }
        
        .x-grid3-hd-inner
        {
            font-family: "segoe ui" ,tahoma, arial, sans-serif;
            font-size: 12px;
        }
        
        .x-grid3-body .x-grid3-td-Cost
        {
            background-color: #f1f2f4;
        }
        
        .x-grid3-summary-row .x-grid3-td-Cost
        {
            background-color: #e1e2e4;
        }
        
          .x-label-text {
            font-weight: bold;
            font-size: 11px;
        }
    </style>
      <style type="text/css">
        .attachlink
        {
            text-decoration: none;
            line-height: 18px;
        }
        .attachlink img
        {
            margin: 0 1px -6px 0;
        }
    </style>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="TopBarHolder" runat="Server">

    <ext:Toolbar ID="toolBar1" runat="Server">
		<Items>
			  <ext:Button runat="server" ID="btnAdd" Text="Thêm ghi chú " Icon="PageAdd" Scale="Medium"
                CausesValidation="false">
                <DirectEvents>
                    <Click OnEvent="btnAdd_Click">
                        <EventMask ShowMask="true" Msg="Waiting..." MinDelay="500" />
                    </Click>
                </DirectEvents>
            </ext:Button>
            <ext:ToolbarSeparator />
			<ext:Button runat="server" ID="btnEdit" Text="Sửa ghi chú " Icon="Pencil" Scale="Medium"
                CausesValidation="false">
                <DirectEvents>
                    <Click OnEvent="btnEdit_Click">
                        <EventMask ShowMask="true" Msg="Waiting..." MinDelay="500" />
                    </Click>
                </DirectEvents>
            </ext:Button>
			<ext:Button runat="server" ID="btnDelete" Text="Xóa ghi chú " Icon="ApplicationDelete" Scale="Medium"
                CausesValidation="false">
                <DirectEvents>
                    <Click OnEvent="btnDelete_Click">
                        <EventMask ShowMask="true" Msg="Waiting..." MinDelay="500" />
                    </Click>
                </DirectEvents>
            </ext:Button>
            <ext:ToolbarSeparator />
            <ext:Button runat="Server" ID="btnDuyet" Text="Duyệt" Icon="ApplicationLightning" Scale="Medium" CausesValidation="false" >
                <DirectEvents>
                    <Click OnEvent="btnDuyet_Click">
                        <EventMask ShowMask="true" Msg="Waiting..." MinDelay="200" />
                    </Click>
                </DirectEvents>
            </ext:Button>
			<ext:SplitButton runat="server" ID="btnTrash" Text="Thùng rác" Icon="Bin" Scale="Medium">
                <Menu>
                    <ext:Menu ID="Menu2" runat="server">
                        <Items>
                            <ext:MenuItem ID="MenuItem8" runat="server" Text="Xóa tất cả" Icon="Cancel">
                                <DirectEvents>
                                    <Click OnEvent="btnTrashEmpty_Click">
                                        <EventMask ShowMask="true" Msg="Waiting..." MinDelay="500" />
                                    </Click>
                                </DirectEvents>
                            </ext:MenuItem>
                            <ext:MenuItem ID="MenuItem9" runat="server" Text="Xóa những bài được chọn" Icon="BinEmpty">
                                <DirectEvents>
                                    <Click OnEvent="btnTrashDelete_Click">
                                        <EventMask ShowMask="true" Msg="Waiting..." MinDelay="500" />
                                    </Click>
                                </DirectEvents>
                            </ext:MenuItem>
                            <ext:MenuItem ID="MenuItem10" runat="server" Text="Bỏ khỏi thùng rác" Icon="ArrowTurnLeft">
                                <DirectEvents>
                                    <Click OnEvent="btnUnDelete_Click">
                                        <EventMask ShowMask="true" Msg="Waiting..." MinDelay="500" />
                                    </Click>
                                </DirectEvents>
                            </ext:MenuItem>
                        </Items>
                    </ext:Menu>
                </Menu>
                <%--<DirectEvents>
                    <Click OnEvent="btnTrash_Click">
                        <EventMask ShowMask="true" Msg="Waiting..." MinDelay="500" />
                    </Click>
                </DirectEvents>--%>
            </ext:SplitButton>
		<%--	<ext:SplitButton runat="server" ID="btnUpdate" Text="Cập nhật" Icon="PageEdit" Scale="Medium">
                <Menu>
                    <ext:Menu ID="Menu1" runat="server">
                        <Items>
                            <ext:MenuItem ID="MenuItem1" runat="server" Text="Duyệt" Icon="Accept">
                                <Listeners>
                                    <Click Handler="#{Window3}.show();" />
                                </Listeners>
                            </ext:MenuItem>
                            <ext:MenuItem ID="MenuItem3" runat="server" Text="Hiển thị" Icon="Eye">
                                <Listeners>
                                    <Click Handler="#{Window4}.show();" />
                                </Listeners>
                            </ext:MenuItem>
                            <ext:MenuItem ID="MenuItem4" runat="server" Text="Tin nổi bật" Icon="New">
                                <Listeners>
                                    <Click Handler="#{Window5}.show();" />
                                </Listeners>
                            </ext:MenuItem>
                            <ext:MenuItem ID="MenuItem5" runat="server" Text="Chuyển sang nhóm bài viết khác"
                                Icon="FolderGo">
                                <Listeners>
                                    <Click Handler="#{Window2}.show();" />
                                </Listeners>
                            </ext:MenuItem>
                        </Items>
                    </ext:Menu>
                </Menu>
            </ext:SplitButton>--%>
		</Items>
	</ext:Toolbar>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

</asp:Content>
